package ex5;

public class Main {
    public static void main(String[] args) {


        Employee[] employee = new Employee[11];
        for (int i = 1;i<=10;i++){
            employee[i] = new Employee(i+"号","00"+i,1000*(i+1));
            employee[i].calculateTax(employee[i]);
        }
        System.out.println("部门总税额："+Employee.getSumTax());
    }
}



//        Monkey monkey1  = new Monkey();
//        monkey1.setName("甲");
//        monkey1.setWeigh(50);
//        monkey1.setAge(3);
//        Monkey monkey2 = new Monkey("乙",45,2);
//
//        System.out.println("名字:"+monkey1.getName()+" 体重："+ monkey1.getWeigh()+" 年龄："+ monkey1.getAge()+" "+"爱好:"+Monkey.getHobby());
//        System.out.println("===================");
//        System.out.println("名字:"+monkey2.getName()+" 体重："+ monkey2.getWeigh()+" 年龄："+ monkey2.getAge()+" "+"爱好:"+Monkey.getHobby());
//        monkey1.climbTree(15);
//        monkey2.climbTree(30);
//       Employee employee1 = new Employee("1号","001",10000);
//        System.out.println(employee1.calculateTax(employee1));
//        System.out.println(Employee.getSumTax());
//        System.out.println("==================");
//        Employee employee2 = new Employee("2号","002",6000);
//        System.out.println(employee2.calculateTax(employee2));
//        System.out.println(Employee.getSumTax());